package job.relevance.alexa_parser;

import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;

public class AlexaParser {

    public static AlexaRecord parseText(String s) {
        AlexaRecord ret = new AlexaRecord();
        return ret;
    }

    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new FileReader(
                "/home/renp/Public/D/wangwangxin.com.cn"));
        StringBuilder sb = new StringBuilder();
        for (String line = br.readLine(); line != null; line = br.readLine()) {
            sb.append(line);
            sb.append("\n");
        }
        br.close();
        System.out.println(parseText(sb.toString().replaceAll("\\s+", " ")));
    }

}
